package cn.itcast.domain.cargo;

import cn.itcast.domain.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Invoice extends BaseEntity implements Serializable {

    private String invoiceId;
    private String scNo;
    private String blNo;
    private String tradeTerms;
    private Double invoiceMoney;
    private Integer state;
    private String pickupPhoto;
    private Date invoiceDate;
    private String invoiceNo;

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getScNo() {
        return scNo;
    }

    public void setScNo(String scNo) {
        this.scNo = scNo;
    }

    public String getBlNo() {
        return blNo;
    }

    public void setBlNo(String blNo) {
        this.blNo = blNo;
    }

    public String getTradeTerms() {
        return tradeTerms;
    }

    public void setTradeTerms(String tradeTerms) {
        this.tradeTerms = tradeTerms;
    }

    public Double getInvoiceMoney() {
        return invoiceMoney;
    }

    public void setInvoiceMoney(Double invoiceMoney) {
        this.invoiceMoney = invoiceMoney;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPickupPhoto() {
        return pickupPhoto;
    }

    public void setPickupPhoto(String pickupPhoto) {
        this.pickupPhoto = pickupPhoto;
    }

    public Date getInvoiceDate() {
        return invoiceDate;
    }

    public void setInvoiceDate(Date invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    @Override
    public String toString() {
        return "\nInvoice{" +
                "invoiceId='" + invoiceId + '\'' +
                ", scNo='" + scNo + '\'' +
                ", blNo='" + blNo + '\'' +
                ", tradeTerms='" + tradeTerms + '\'' +
                ", invoiceMoney=" + invoiceMoney +
                ", state=" + state +
                ", pickupPhoto='" + pickupPhoto + '\'' +
                ", invoiceDate=" + invoiceDate +
                ", invoiceNo='" + invoiceNo + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createDept='" + createDept + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", companyId='" + companyId + '\'' +
                ", companyName='" + companyName + '\'' +
                '}';
    }
}